//
//(C) Copyright 2011 HongKong Airline.,Ltd. 
//
/**
 * orderforminfoModel
 *
 * 项目名称:代购系统
 *
 * @author Mengxiangliang
 *
 * 功能描述:
 * 
 * 历史版本:2013-01-04 v1.0.0 Mengxiangliang  创建:
 * 
 */
package com.gamutsoft.amb.orderinfo.model;

import java.math.BigDecimal;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "ORDERFORMINFO")
public class Orderforminfo implements java.io.Serializable {

	/**
	 * 
	 */
	private Long id ;
	/**
	 * 
	 */
	private String code ;
	/**
	 * 
	 */
	private BigDecimal summoney ;
	/**
	 * 
	 */
	private String status ;
	/**
	 * 
	 */
	private String createtime ;
	/**
	 * 
	 */
	private Long userId ;
	/**
	 * 
	 */
	private String bankName ;
	
	private String buyType;

/** default constructor */
	public Orderforminfo() {
	}

	/** minimal constructor */
   public Orderforminfo(Long id) {
             this.id = id;
                                          	
 } 
	

    /**
	 * 获取
	 * @return
	 */
    @Id
	@GeneratedValue(strategy = GenerationType.AUTO)
	@Column(name = "id", unique = true, nullable = false, scale = 0)
	public Long getId() {
		return this.id;
	}
	
	/**
	 * 设置
	 * @param id
	 */	
	public void setId(Long id) {
		this.id = id;
	}

    /**
	 * 获取
	 * @return
	 */
	@Column(name = "code", length = 32)
	public String getCode() {
		return code;
	}
	
	/**
	 * 设置
	 * @param code
	 */	
	public void setCode(String code) {
		this.code = code;
	}

    /**
	 * 获取
	 * @return
	 */
	@Column(name = "sumMoney", length = 10)
	public BigDecimal getSummoney() {
		return summoney;
	}
	
	/**
	 * 设置
	 * @param summoney
	 */	
	public void setSummoney(BigDecimal summoney) {
		this.summoney = summoney;
	}

    /**
	 * 获取
	 * @return
	 */
	@Column(name = "status", length = 10)
	public String getStatus() {
		return status;
	}
	
	/**
	 * 设置
	 * @param status
	 */	
	public void setStatus(String status) {
		this.status = status;
	}

    /**
	 * 获取
	 * @return
	 */
	@Column(name = "createTime", length = 19)
	public String getCreatetime() {
		return createtime;
	}
	
	/**
	 * 设置
	 * @param createtime
	 */	
	public void setCreatetime(String createtime) {
		this.createtime = createtime;
	}

    /**
	 * 获取
	 * @return
	 */
	@Column(name = "user_id", length = 32)
	public Long getUserId() {
		return userId;
	}
	
	/**
	 * 设置
	 * @param userId
	 */	
	public void setUserId(Long userId) {
		this.userId = userId;
	}

    /**
	 * 获取
	 * @return
	 */
	@Column(name = "bank_name", length = 36)
	public String getBankName() {
		return bankName;
	}
	
	/**
	 * 设置
	 * @param bankName
	 */	
	public void setBankName(String bankName) {
		this.bankName = bankName;
	}
	@Column(name = "buy_type", length = 3)
	public String getBuyType() {
		return buyType;
	}

	public void setBuyType(String buyType) {
		this.buyType = buyType;
	}
	
}